//
//  SCRefreshNormalHeader.m
//  sooc-ios_new
//
//  Created by 郭琦 on 16/8/24.
//  Copyright © 2016年 SOOC. All rights reserved.
//

#import "SCRefreshNormalHeader.h"

@implementation SCRefreshNormalHeader

- (void)prepare
{
    [super prepare];
    // 隐藏时间
    self.lastUpdatedTimeLabel.hidden = YES;
    [self setTitle:@"下拉刷新" forState:MJRefreshStateIdle];
    [self setTitle:@"正在加载数据…" forState:MJRefreshStateRefreshing];
    [self setTitle:@"松开立即刷新" forState:MJRefreshStatePulling];
    // 隐藏状态
    self.stateLabel.hidden = NO;
    
    // 设置自动切换透明度(在导航栏下面自动隐藏)
    self.automaticallyChangeAlpha = YES;
    
}

@end
